<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/antd/4.9.2/antd.min.css"
    />
    <link rel="stylesheet" href="./todolist.css" />
  </head>
  <body>
    <div id="root"></div>
    <script src="https://cdn.bootcdn.net/ajax/libs/react/17.0.1/umd/react.development.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/react-dom/17.0.1/umd/react-dom.development.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.7.2/prop-types.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/Mock.js/1.0.0/mock-min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/react-router-dom/5.2.0/react-router-dom.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/redux/4.0.5/redux.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/react-redux/7.2.2/react-redux.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/redux-thunk/2.3.0/redux-thunk.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/react-transition-group/4.4.1/react-transition-group.min.js"></script>
    <script src="https://cdn.staticfile.org/babel-standalone/6.26.0/babel.min.js"></script>

    <script src="./store.js"></script>
    <script type="text/babel">
      const { Component } = React;
      const { Input, Button, List, Fragment } = antd;

      const data = [
        "早8点晨会,分配今天的任务",
        "早9点,开需求沟通会",
        "早10点....",
      ];

      class Todolist extends Component {
        render() {
          return (
            <div className="todolist">
              <div className="input-box">
                <Input className="inp" placeholder="write something" />
                <Button type="primary">增加</Button>
              </div>
              <List
                className="list"
                dataSource={data}
                bordered
                renderItem={(item) => <List.Item>{item}</List.Item>}
              />
            </div>
          );
        }
      }
      ReactDOM.render(<Todolist />, document.getElementById("root"));
    </script>
  </body>
</html>
